-- GENERATED SPELL FOR [Feral Nightsaber] --


function spell0_2034(pUnit, Event) --@Muscle Tear,n/a--
pUnit:FullCastSpellOnTarget(12166,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2034', 5262, 1)
end

function Sorts_2034(pUnit, Event)
local choix_sorts_2034 = math.random(0, 0)
if choix_sorts_2034 == 0 then
pUnit:RegisterEvent('spell0_2034', 1, 1)
end
end

function mob2034_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2034', math.random(1500, 3000), 1)
end

function mob2034_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2034_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2034_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2034, 1, 'mob2034_Action')
RegisterUnitEvent(2034, 2, 'mob2034_Leave')
RegisterUnitEvent(2034, 3, 'mob2034_Kill')
RegisterUnitEvent(2034, 4, 'mob2034_Die')
